Crate jsonrpsee_types[][src]

Expand description

Shared types in jsonrpsee for clients, servers and utilities.

Re-exports

pub use error::CallError;
pub use error::Error;

Modules

Error type.

Traits

JSON-RPC v2.0 specification related types. Types to handle in- and outgoing JSON-RPC requests and subscriptions according to the spec.

Structs

Batch request message.

Reference to a range of bytes encompassing a single valid JSON value in the input data.

RegisterNotification message.

Keep track of request IDs.

Request message.

Active subscription on the client.

Subscription message.

Enums

Message that the Client can send to the background task.

Represents any valid JSON value.

Subscription kind

Constants

Ten megabytes.

Traits

A data structure that can be deserialized without borrowing any data from the deserializer.

A data structure that can be serialized into any data format supported by Serde.

Functions

Convert a T into a boxed RawValue.

Convert a T into serde_json::Value which is an enum that can represent any valid JSON data.

Type Definitions

Compact three word Cow that puts the ownership tag in capacity. This is a type alias, for documentation see beef::generic::Cow.

JSON-RPC result.

Attribute Macros

Derive Macros